import React from 'react'
import { Route, Routes as Switch } from 'react-router-dom'
import Home from './components/core/Home'
import Shop from './components/core/Shop'

const Routes = () => {
  return (
    <Switch>
      <Route index element={<Home />} />
      <Route path='/shop' element={<Shop />} />
    </Switch>
  )
}

export default Routes